package com.wyp168.gulimall.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyp168.common.utils.PageUtils;
import com.wyp168.gulimall.ware.entity.PurchaseDetailEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author wyp168
 * @email 2721255240@qq.com
 * @date 2022-10-22 20:54:22
 */
public interface PurchaseDetailService extends IService<PurchaseDetailEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 根据采购单id，获取对应采购项集合
     * @param purchaseId
     * @return
     */
    List<PurchaseDetailEntity> listDetailByPurchaseId(Long purchaseId);
}

